package com.tengju.bff.interfaces.manage.platform.rule.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "FullMatchRuleVO", description = "创建全匹配规则请求参数")
public class FullMatchRuleVO {

    @ApiModelProperty(value = "业务类型")
    @NotNull(message = "业务类型不能为空")
    Integer bizType;

    @ApiModelProperty(value = "规则描述")
    @NotNull(message = "规则描述不能为空")
    String ruleDesc;

    @ApiModelProperty(value = "规则节点")
    @NotNull(message = "规则节点不能为空")
    List<FullMatchRuleNodeVO> nodes;


}
